<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/public/base.jspf"%>
<!DOCTYPE html>
<html>
<head>
	<title>商品类型</title>
	<%@include file="/public/base_css.jspf"%>
	<%@include file="/public/base_js.jspf"%>
</head>
<body>
	<table id="datagrid_list"></table>
	<script type="text/javascript">
		$('#datagrid_list').datagrid({
		    url:'pageList',
		    idField:'id',
		    fitColumns:true,
		    rownumbers:true,
		    singleSelect:true,
		    striped:true,
		    pagination:true,
		    fit:true,
		    toolbar: [{
				iconCls: 'icon-add',
				text:'添加教程',
				handler: function(){add();}
			},'-',{
				iconCls: 'icon-help',
				handler: function(){update();}
			}],
		    columns:[[{
		    	field:'name',
		    	title:'教程名称',
		    	width:100,
		    	align:'center'
		    },{
		    	field:'remark',
		    	title:'备注',
		    	width:100,
		    	align:'center'
		    },{
		    	field:'createTime',
		    	title:'创建时间',
		    	width:100,
		    	align:'center'
		    },{
		    	field:'editTime',
		    	title:'修改时间',
		    	width:100,
		    	align:'center'
		    }]]
		});

		function add(){
			createWindown('addPage','添加菜单',820,710);
		}

		function update(){
			
		}
	</script>
</body>
</html>